﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Shapes;

namespace EMath.Windows {
	/// <summary>
	/// Interaction logic for About.xaml
	/// </summary>
	public partial class About : Window {
		public About( ) {
			InitializeComponent( );
			this.Title = "About " + AppAssembly.Title;
			this.TB_ProductName.Text += AppAssembly.Product;
			this.TB_Version.Text = String.Format("Version: {0}.{1} Build: {2:000}.{3}", AppAssembly.Version);
			this.TB_CompanyName.Text += AppAssembly.Company;
			this.TB_Copyright.Text += AppAssembly.Copyright;
			this.TB_Description.Text = "Description:\n" + AppAssembly.Description;
		}

		private void B_OK_Click(object sender, RoutedEventArgs e) {
			this.Close( );
		}
	}
}